projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f3424
)
Fix regression in vtable-goto-object
author
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 9 Mar 2022 16:37:36 +0000
(17:37 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 9 Mar 2022 16:37:47 +0000
(17:37 +0100)
* lisp/emacs-lisp/vtable.el (vtable-goto-object): Fix moving to
the object.
lisp/emacs-lisp/vtable.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/vtable.el
b/lisp/emacs-lisp/vtable.el
index 2c61996637ff4f60c2cb143a14ac462190bc681f..d8577c19762cf39933eaddf764c25bd8223849a3 100644
(file)
--- a/
lisp/emacs-lisp/vtable.el
+++ b/
lisp/emacs-lisp/vtable.el
@@
-167,7
+167,7
@@
Return the position of the object if found, and nil if not."
(let ((start (point)))
(vtable-beginning-of-table)
(save-restriction
- (narrow-to-region (point) (
vtable-end-of-table
))
+ (narrow-to-region (point) (
save-excursion (vtable-end-of-table)
))
(if (text-property-search-forward 'vtable-object object #'eq)
(progn
(forward-line -1)